home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web29 / Tutorial 6 / forms.css < prev    next >
Cascading Style Sheet File  |  2011-04-03  |  884b  |  28 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 6
  4.    Tutorial Case
  5.  
  6.    Web Form Style Sheet
  7.    Author: Richard Thomson
  8.    Date:   3 April 2011
  9.  
  10.    Filename:         forms.css
  11.    Supporting Files: none
  12.  
  13. */
  14.  
  15. label.blockLabel        {display: block; position: relative; margin: 12px 0px}
  16. label.blockLabel input    {position: absolute; left: 150px}
  17. #donationForm span    {color: red}
  18. label.indentLabel        {margin-left: 150px}
  19. #firstName, #lastName, #street    {width: 25em}
  20. #phone, #city        {width: 10em}
  21. #state                {width: 3em}
  22. #zip                {width: 7em}
  23. #addressOptions        {width: 180px; margin-left: 150px}
  24. #creditCard            {position: absolute; left: 150px}
  25. #cardHolder, #cardNumber    {width: 25em}
  26. #expMonth            {position: absolute; left: 150px}
  27. #expYear            {position: absolute; left: 280px}
  28. fieldset                {margin-bottom: 10px; padding: 10px; background-color: rgb(237,233,223)}